package com.bbcare.cp.plat.store.ibatis.au;

import java.util.List;
import java.util.Map;

import com.bbcare.cp.plat.entity.au.AuProject;
import com.bbcare.cp.plat.entity.au.AuProjectRoleRel;

/**
 * 
 * @name: IAuProjectlDAO.java
 * @author: tao
 * @createTime: 2018年4月26日
 * @description: 项目相关表数据操作类
 * @modify:
 *
 */
public interface IAuProjectDAO {

    // 根据租户和项目查找队列所有队列
    List<Map<String, Object>> selectQueueListByProjectAndRole(Map<String, Object> param) throws Exception;

    // 查询租户下默认项目
    List<AuProject> selectDefaultProject(Map<String, Object> param) throws Exception;

    // 查询项目下患者角色
    List<AuProjectRoleRel> selectPatientRoleByProject(Map<String, Object> param) throws Exception;

    // 查询队列所属项目信息
    List<AuProject> selectProjectByQueueId(Map<String, Object> param) throws Exception;

    // 查询队列所属项目信息
    List<AuProject> selectProjectById(Map<String, Object> param) throws Exception;
    
    //查询角色信息 包括类型
    AuProjectRoleRel selectProjectRoleById (Map<String, Object> param) throws Exception;
}
